package labox.innovation.gameserver.model.actor.stat;

import labox.innovation.gameserver.model.actor.L2Npc;

public class NpcStat extends CharStat {
	// =========================================================
	// Data Field

	// =========================================================
	// Constructor
	public NpcStat(L2Npc activeChar) {
		super(activeChar);

		//TODO: Since this class is now init BEFORE the Npc is fully init, we can not do this here. Overwritten getLevel() is a temp solution.  
		//setLevel(getActiveChar().getTemplate().level);
	}

	@Override
	public int getLevel() {
		return getActiveChar().getTemplate().level;
	}

	// =========================================================
	// Property - Public
	@Override
	public L2Npc getActiveChar() {
		return (L2Npc) _activeChar;
	}
}
